/**
 * @license Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or http://ckeditor.com/license
 */

CKEDITOR.editorConfig = function( config ) {
	// Define changes to default configuration here. For example:
	// config.language = 'fr';
	// config.uiColor = '#AADC6E';
    // 语言
    config.language = 'zh-cn';
    // 宽高
    //config.width = 400;
    config.height = 150;

    //工具栏
    config.toolbar = 'Full';

    config.toolbar_Full =
        [
            /*['Source','-','Save','NewPage','Preview','-','Templates'],
            ['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print', 'SpellChecker', 'Scayt'],
            ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
            ['Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField'],
            ['BidiLtr', 'BidiRtl'],
            '/',*/
            ['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],
            //['NumberedList','BulletedList','-','Outdent','Indent','Blockquote','CreateDiv'],
            //['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
            ['Link','Unlink','Anchor'],
            ['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak'],
            //'/',
            ['Font','FontSize'],
            //['Styles','Format','Font','FontSize'],上一个的备份
            ['TextColor','BGColor'],
            //['Maximize', 'ShowBlocks','-','About']
        ];

    config.toolbar_Basic =
        [
            ['Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink','-','About']
        ];

    //工具栏是否可以拖动
    config.toolbarCanCollapse = false;

    //编辑框是否可以改变大小
    config.resize_enabled = false;

};
